package com.tools.pojo.workflow.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.tools.common.model.BaseEntity;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("flow_transition")
public class FlowTransition extends BaseEntity {

    /**
     * 流程定义ID
     */
    private Long flowDefinitionId;
    /**
     * 源节点
     */
    private String sourceNode;
    /**
     * 目标节点
     */
    private String targetNode;
    /**
     * 转换类型
     */
    private String transitionType; // DEFAULT, CONDITION, TIMEOUT
    /**
     * 条件表达式
     */
    private String conditionExpression;
    /**
     * 条件描述
     */
    private String conditionDescription;
    /**
     * 优先级
     */
    private Integer priority;
}
